import Echo from './Plugin.ts'
import { encrypt } from './aes'
// const res = {
//     GAID: "7d34badb-026e-4c87-90f3-8b7a0b07b0e7",
//     AID: "7bfc1650648907b3",
//     RV: "1.0",
//     VERSION: "1.0.0",
// }
// console.log(JSON.stringify(res))
export default async function android() {
    const { gaId, androidId, appVersionName } = await Echo.echo({ m: 'getHeader' });
    console.log(' GAID, AID, VERSION', gaId, androidId, appVersionName);
    const str = 'GHTQZ5OZ' + encrypt(JSON.stringify({
        GAID: gaId,
        AID: androidId,
        RV: appVersionName,
        VERSION: '1.0.0'
    }), null)
    return str
}